﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using KDS.Mes.Mes.SeatPositions;

namespace KDS.Mes.Mes.SeatPositions.Dtos
{
    /// <summary>
    /// 座椅位置信息编辑用Dto
    /// </summary>
    [AutoMap(typeof(SeatPosition))]
    public class SeatPositionEditDto 
    {

	/// <summary>
    ///   主键Id
    /// </summary>
    [DisplayName("主键Id")]
	public int? Id{get;set;}

        /// <summary>
        /// 位置名称
        /// </summary>
        [DisplayName("位置名称")]
        [Required]
        [MaxLength(20)]
        public   string  SeatPositionName { get; set; }

        /// <summary>
        /// 位置代码
        /// </summary>
        [DisplayName("位置代码")]
        [Required]
        [MaxLength(20)]
        public   string  SeatPositionCode { get; set; }

    }
}
